jQuery(function($){
	function initBook(){
		$.getJSON("BookManageServlet?pro=show",null,function(res){
			$(res).each(function(){
				var tr = "<tr><td>"+this.b_name+"</td>" +
						"<td>"+this.b_author+"</td>" +
						"<td>"+this.b_time+"</td>" +
						"<td>"+this.b_type+"</td>" +
						"<td><a href=''></td></tr>";
				$("#tb").append(tr)
			});
		});
	}
	
	initBook();
});